import java.awt.Color;
import java.awt.EventQueue;

import javax.swing.JFrame;
import java.awt.CardLayout;


public class ProtoGui {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ProtoGui window = new ProtoGui();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public ProtoGui() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 300);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setTitle("Typing Tron 4000");
		frame.setResizable(false);
		//frame.setFocusable(true);
		
		frame.setBackground(new Color(155, 80, 184));
		
		
		frame.setBounds(100, 100, 800, 600);
		frame.getContentPane().setLayout(new CardLayout(0, 0));
		
		TitleScreen titlescreen = new TitleScreen();
		
		frame.getContentPane().add(titlescreen, "titlescreen");
		// Next will be Login Card
		frame.getContentPane().add(new MockLogin(), "login");
		// Login will add the teacher mode or student mode cards
		
	}
	

}
